home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 83
/
MINAMI83.iso
/
Extra
/
winamp532.exe
/
$R0
/
Winamp Modern
/
scripts
/
eq.m
< prev
next >
Wrap
Text File
|
2005-09-15
|
517b
|
23 lines
#include <lib/std.mi>
Global Group frameGroup;
Global Button btnEQp12,btnEQ0,btnEQm12;
System.onScriptLoaded() {
frameGroup = getScriptGroup();
btnEQp12 = frameGroup.findObject("EQ_p12");
btnEQ0 = frameGroup.findObject("EQ_0");
btnEQm12 = frameGroup.findObject("EQ_m12");
}
btnEQp12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 127);
}
btnEQ0.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 0);
}
btnEQm12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, -127);
}